package cn.aeolia.service.impl;

import cn.aeolia.dao.EmployeeDao;
import cn.aeolia.pojo.Employee;
import cn.aeolia.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 63495
 */
@Service("employeeService")
public class EmployeeServiceImpl implements EmployeeService {
    /**
     * dao层对象
     */
    @Autowired
    private EmployeeDao employeeDao;

    @Override
    public List<Employee> getAllEmployee() {
        return employeeDao.getAllEmployee();
    }

    @Override
    public Employee findEmployeeById(Integer id) {
        return null;
    }

    @Override
    public void addEmployee() {

    }

    @Override
    public void addEmployees(List<Employee> employees) {

    }

    @Override
    public void deleteEmployee(Employee employee) {

    }

    @Override
    public void deleteEmployees(List<Employee> employees) {

    }
}
